﻿@model XSTDZ.ERP.Application.DataContracts.DataBackDto

@{
    ViewBag.Title = " - 数据备份更新";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
 <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
 <style type="text/css">
    .ddl select
    {
        width: 180px;
height: 24px;
line-height: 24px;
padding: 2px 1px;
border: 1px solid #AECAF0;
        }
 </style>
}

<h2>添加用户</h2>
<div class="wp100">

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">@* <h2>新增入库单</h2>*@
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>

    <tr style="display:none;">
        <td class="title">@Html.LabelFor(model => model.BackType)<b>*</b></td>
        <td>
            @Html.TextBoxFor(model => model.BackType, new { @class = "text" })
            @Html.ValidationMessageFor(model => model.BackType)
        </td>

        <td class="title"> 
            @Html.LabelFor(model => model.BackPath)<b>*</b>
        </td>
        <td>
           @Html.TextBoxFor(model => model.BackPath, new { @class = "text" })
            @Html.ValidationMessageFor(model => model.BackPath)
        </td>
   </tr>

   <tr>
        <td class="title">@Html.LabelFor(model => model.BackTime)<b>*</b></td>
        <td>
            @Html.TextBoxFor(model => model.BackTime, new { @class = "text" })
            @Html.ValidationMessageFor(model => model.BackTime)
        </td>

        <td class="title"> 
            @Html.LabelFor(model => model.BackCount)<b>*</b>
        </td>
        <td class="ddl">
        @Html.DropDownList("BackCount")

          @* @Html.DropDownListFor(model => model.BackCount, ViewBag.backcount as IEnumerable<SelectListItem>, new { @class = "select" })
            @Html.ValidationMessageFor(model => model.BackCount)*@
        </td>
   </tr>

     <tr style="display:none;">
        <td class="title">@Html.LabelFor(model => model.OperateState)<b>*</b></td>
        <td>
            @Html.TextBoxFor(model => model.OperateState, new { @class = "text" })
            @Html.ValidationMessageFor(model => model.OperateState)
        </td>

        <td class="title"> 
           
        </td>
        <td>
           
        </td>
   </tr>

        

      <tr>
        <td colspan="4"> 
        
        <p class="divBtn">
           <input type="hidden" id="hidHttpRefeParent" name="hidHttpRefeParent" value="grid" />
            <input type="hidden" id="hidHttpPostState" name="hidHttpPostState" value="@ViewBag.PostState" />
            <input type="submit" value="@XSTDZ.ERP.Infrastructure.SystemConfig.BtnSave"  class="BtnSubmit" />
        </p>
        </td>
      </tr> 
       </table>
}

</div>
<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")">

</script>
